c2485f5253d9ae5a4186dd2f8f57b58729a38e17,subprojects/core/src/main/java/org/gradle/api/internal/tasks/cache/TarTaskOutputPacker.java,TarTaskOutputPacker,unpack,#TaskOutputsInternal#TarInputStream#,153
Before Change
Files.asByteSink(outputFile).writeFrom(tarInput);
}
fileSystem.chmod(outputFile, entry.getMode() & 0777);
outputFile.setLastModified(entry.getModTime().getTime());
}
}
}
After Change
}
//noinspection OctalInteger
fileSystem.chmod(outputFile, entry.getMode() & 0777);
if (!outputFile.setLastModified(entry.getModTime().getTime())) {
throw new IOException(String.format("Could not set modification time for '%s'", outputFile));
}
}